package com.mall.service;

import com.mall.bean.SystemPermission;
import com.mall.vo.MenuVo;

import java.util.List;

public interface SystemPermissionService {
    List<SystemPermission> getPermissionList();

    List<SystemPermission> getPermissionListByType();

    SystemPermission findPermission(SystemPermission systemPermission);

    SystemPermission findPermissionById(String id);

    void insertPermission(SystemPermission systemPermission);

    void insertPermissionSelective(SystemPermission systemPermission);

    void updatePermission(SystemPermission systemPermission);

    void deletePermission(String id);

    void deleteAllPermission(String[] ids);

    List<MenuVo> getUserPermission(String user_id);
}
